<!-- 组织-组织机构管理-组织详情 -->
<template>
  <ContentCard>
    <template #header>
      <PageHeaderNew
        :title="title"
        :breadCrumb="breadCrumb"
        showBack
        @back="back"
        emitBack
      >
      </PageHeaderNew>
    </template>
    <div class="wrap">
      <Left></Left>
      <Main
        :style="{
          flex: 1
        }"
      ></Main>
    </div>
  </ContentCard>
</template>

<script lang="ts" setup>
import { GetOrganizationListDetail } from '@/apis/management/organization/organizationManagement';
import Left from './Components/Left/index.vue';
import Main from './Components/Main/index.vue';

const title = '组织详情';

const breadCrumb: string[] = ['组织', '组织机构', '组织详情'];

const route = useRoute();
const router = useRouter();

const id = Number(route.query.id);

const back = () => {
  router.push({
    name: 'OmStructure'
  });
};
</script>

<style lang="less" scoped>
.wrap {
  display: flex;
}
</style>
